Skip to content

Set CUDA_INSTALL_DIR if it is not set by cmake build command#798

Merged
rajeevsrao merged 1 commit intoNVIDIA:masterfrom
npanpaliya:cuda-path
Mar 19, 2021
Merged

Set CUDA_INSTALL_DIR if it is not set by cmake build command#798
rajeevsrao merged 1 commit intoNVIDIA:masterfrom
npanpaliya:cuda-path

Conversation

@npanpaliya
Copy link
Copy Markdown

Changed the way CUDA_INSTALL_DIR is being set in the CMakeLists files. It should be set to /usr/local/cuda only if it is not set to the specific directory explicitly. For e.g. In case of conda builds, usually cuda is installed at $CONDA_PREFIX, so if we specify the CUDA_INSTALL_DIR through cmake argument -DCUDA_INSTALL_DIR, it should be used instead of the default one.

@rajeevsrao
Copy link
Copy Markdown
Collaborator

@npanpaliya please sign the commit.

Signed-off-by: Nishidha Panpaliya <npanpa23@in.ibm.com>
@npanpaliya
Copy link
Copy Markdown
Author

@rajeevsrao - I've pushed the signed commit.

@rajeevsrao rajeevsrao merged commit e724d31 into NVIDIA:master Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants